package com.dl.debugtools.api

import com.dl.base.api.response.BaseResponse
import okhttp3.ResponseBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Url

interface DebugToolsService {
    /**
     * 可以创建device,修改device name
     */
    @POST("/device/generateDevice/")
    suspend fun generateDevice(@Body params: GenerateDeviceDTO): BaseResponse<DeviceResponse>

    @GET
    suspend fun downloadFile(@Url fileUrl: String): ResponseBody
}